package builders;

import com.googlecode.tinyoutliner.constants.LineEndings;
import com.organic.maynard.outliner.model.DocumentInfo;

public class DocumentInfoBuilder
implements Builder<DocumentInfo> {

	private String fileFormat = "";
	private boolean imported;
	private String encodingType;
	private LineEndings lineEnding;
	private String path;
	private String title;
	private String createdOn;
	private String modifiedOn;
	private String ownerName;
	private String ownerEmail;
	private int verticalScrollState;
	private String protocolName;
	private boolean useDates;
	private boolean styleMoveable;
	private boolean styleEdits;
	private boolean styleComments;
	private String expandedNodesList = "";
	private int windowRight;
	private int windowBottom;
	private int windowLeft;
	private int windowTop;

	public DocumentInfo build() {
		DocumentInfo document
			= new DocumentInfo(fileFormat ,
					imported,
					encodingType,
					lineEnding,
					path,
					title,
					createdOn,
					modifiedOn,
					ownerName,
					ownerEmail,
					verticalScrollState,
					windowTop,
					windowLeft,
					windowBottom,
					windowRight,
					expandedNodesList,
					styleComments,
					styleEdits,
					styleMoveable,
					useDates,
					protocolName
					);
		return document;
	}

}
